package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.dto.MerchantLevelRelationDTO;
import com.ayf.payment.game.api.dto.criteria.MerchantLevelRelationCriteria;
import com.ayf.payment.game.api.entity.MerchantLevelRelation;

import java.util.List;

public interface MerchantLevelRelationService{

    void insert(MerchantLevelRelation entity,Integer level);

    void update(MerchantLevelRelation entity);

    MerchantLevelRelation selectOne(Integer merchantId);

    MerchantLevelRelationDTO getDTOByMerchantId(Integer merchantId);

    List<MerchantLevelRelationDTO> selectDTOBySupMerchantId(Integer supMerchantId);

    List<MerchantLevelRelationDTO>  selectPageByCriteria(MerchantLevelRelationCriteria criteria);
}
